//
// Created by wze-zero on 2024/7/12 012.
//
#include <iostream>
#include <string>

using namespace std;

int main() {
    string s1, s2;
    getline(cin, s1);
    getline(cin, s2);
    s1.append(s2);
    cout << s1 << endl;
    return 0;
}